<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<jsp:include page="validaSesion.jsp"></jsp:include>
<%@ include file="../taglib.jsp"%>
<html>

<head>
<link href="css/menuPrincipal.css" type=text/css rel=stylesheet>
<script src="js/menuBar.js" type="text/javascript"></SCRIPT>

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.metadata.js"></script>
<script type="text/javascript" src="js/jquery.validate.js"></script>
<SCRIPT src="js/calendar.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/calendar-es.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/calendar-setup.js" type=text/javascript></SCRIPT>
<LINK href="css/calendar-blue.css" type=text/css rel=stylesheet>
<link href="css/displaytag.css" type=text/css rel=stylesheet>

<script type="text/javascript">
	J(document).ready(function() {
		J("#formData").validate();
	});
	
</script>

</head>

<body class="fondo">

<table border="0" height=100% width=100%>
	<tr>
		<td align="center"><br>

		<jsp:include page="includes\header.jsp" /> <jsp:include
			page="includes\menuBarraPostulante.jsp" /> <jsp:include
			page="includes\header2.jsp" /> <br>

		<div class="cuerpo_xy">

		<div class=cuerpo>
		<div class=contenido>

		<form name="frmenvio" method="post" action="inscripcion"><input
			type="hidden" name="metodo" value="insertaSolicitud">

		<table border="0" cellspacing="10" height=100% width=95% align="center">

			<tr>
				<td align="right" colspan="2">
					Nro de Solicitud :
					<input type="text"	name="txtDni" size="10" 
					value=${sessionScope.DATOS_POSTULANTE.intCodSolicitud} readonly="readonly">
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center" bgcolor="#DAE6FF">:::: DATOS DEL
				POSTULANTE ::::</td>
			</tr>
			<tr>
				<td>Codigo de Postulante :</td>
				<td><input type="text" class="{required:true,maxlength:[8]}"
					name="txtCodPostulante" size="15"
					value=${sessionScope.DATOS_POSTULANTE.intCodPostulante
					}
					disabled="disabled"></td>
			</tr>
			<tr>
				<td>Dni :</td>
				<td><input type="text" class="{required:true,maxlength:[8]}"
					name="txtDni" size="15"
					value=${sessionScope.DATOS_POSTULANTE.strDni } disabled="disabled"></td>
			</tr>
			<tr>
				<td><br>
				Nombres :</td>
				<td><input type="text" class="{required:true,maxlength:[100]}"
					name="txtNombre" size="25"
					value=${sessionScope.DATOS_POSTULANTE.strNombres
					}
					disabled="disabled"></td>
			</tr>
			<tr>
				<td>Apellido Paterno :</td>
				<td><input type="text" class="{required:true,maxlength:[25]}"
					name="txtApePat" size="25"
					value=${sessionScope.DATOS_POSTULANTE.strApepat
					}
					disabled="disabled"><br>
				</td>
			</tr>
			<tr>
				<td>Apellido Materno :</td>
				<td><input type="text" class="{required:true,maxlength:[25]}"
					name="txtApeMat" size="25"
					value=${sessionScope.DATOS_POSTULANTE.strApemat
					}
					disabled="disabled"></td>
			</tr>
		</table>
		</form>
		<table border="0" cellspacing="7" cellpadding="2" height=100% width=95% align="center">
			<tr>
				<td colspan="5" align="center" bgcolor="#DAE6FF">::::
				REQUISITOS SEGUN MODALIDAD ::::</td>
			</tr>

			<tr>
				<td colspan="5"><!--  
					   <display:table name="${requestScope.registro_requisitos}" id="bean" export="false"				requestURI="inscripcion?metodo=traeRequisitos" >
						<display:column property="intCodRequisito" title="Codigo Requisito" sortable="true" />
						<display:column property="strNombreRequisito" title="Requisito" sortable="true" />
						<display:column title="Ingrese imagen JPG"><input type="file" name="txtFile$" id='imagen'></display:column>
					
						<display:column title="Registre" ><a href="inscripcion?metodo=insertaDetalleSolicitud&requisito=${bean.intCodRequisito}&solicitud=${requestScope.codigo_Solicitud}">Registrar detalle</a></display:column>
						</display:table>
						
						
						-->
				
					
					<c:forEach items="${requestScope.registro_requisitos}" var="bean">
					
					<form name="${bean.intCodRequisito}" enctype='multipart/form-data' action="inscripcion" method="post">
					
					
					
					<c:if test="${bean.strEstadoRequisito=='desaprobado'}">
					<tr>
					<td><input type="hidden" name="requisito" value="${bean.intCodRequisito}" size="2"></td>
						<td><input type="hidden" name="solicitud" value="${sessionScope.DATOS_POSTULANTE.intCodSolicitud}"  size="2"></td>
						<td><input type="hidden" name="estado" value="${bean.strEstadoRequisito}"  size="2"></td>
						<td><font color='red' size='2'>${bean.strNombreRequisito} Observacion: ${bean.strObservacion}</font></td>
						<td><input type="file" class="Elemento" name="imagen" class=required id="imagen" size="15"></td>
						<td><input type="submit" name="boton" class="Elemento" value="Enviar Requisito"/></td>
					</tr>
					
					</c:if>
					
					<c:if test="${bean.strEstadoRequisito=='null'}">
					<tr>
					<td><input type="hidden" name="requisito" value="${bean.intCodRequisito}" size="2"></td>
						<td><input type="hidden" name="solicitud" value="${sessionScope.DATOS_POSTULANTE.intCodSolicitud}"  size="2"></td>
						<td><input type="hidden" name="estado" value="${bean.strEstadoRequisito}"  size="2"></td>
						<td >${bean.strNombreRequisito}</td>
						<td><input type="file" class="Elemento" name="imagen" class=required id="imagen" size="15"></td>
						<td><input type="submit" name="boton" class="Elemento" value="Enviar Requisito"/></td>
					</tr>
					
					</c:if>
					
				
					
					
					</form>
					
				</c:forEach>
				
				
					
				
			</tr>



			<tr>
				<td colspan="2">&nbsp;</td>
			</tr>

		</table>


		</div>
		</div>

		<jsp:include page="includes\lateral.jsp" /></div>

		<br>

		<jsp:include page="includes\piePagina.jsp" /></td>
	</tr>


</table>


</body>

</html>